package com.study.design.pattern.pattern.structural.bridge;

/**
 * @Author: gongsl
 * @Date: 2025-03-16 22:47
 */
public class Test {
    public static void main(String[] args) {
        AbstractQuill bigQuill = new BigQuill(new Red());
        bigQuill.drawing();
        System.out.println("---------------------");
        AbstractQuill middleQuillGreen = new MiddleQuill(new Green());
        middleQuillGreen.drawing();
        System.out.println("---------------------");
        AbstractQuill middleQuillBlue = new MiddleQuill(new Blue());
        middleQuillBlue.drawing();
        System.out.println("---------------------");
        AbstractQuill smallQuill = new SmallQuill(new Green());
        smallQuill.drawing();
    }
}
